import './xxsw.css';
import {xxswUrl} from './config.js';
import {getData} from 'api/getData';
import rander from './bd/xxsw-bd.art';
const xxsw_loading=document.querySelector('.xxsw .loading');
const xxsw_bd=document.querySelector('.xxsw .bd');
getData(xxswUrl).then((data)=>{
    xxsw_loading.classList.add('none');
    // 在成功接收到响应数据后，加载新鲜甩尾区域模块
    xxsw_bd.innerHTML=rander({item:data});
})